]> dgit.raspbian.org Git - gnome-shell.git/commit
pageIndicators: Redesign and add position-based animation
authorAlexander Mikhaylenko <exalm7659@gmail.com>
Thu, 21 Nov 2019 22:24:46 +0000 (03:24 +0500)
committerAlexander Mikhaylenko <exalm7659@gmail.com>
Fri, 22 Nov 2019 22:01:51 +0000 (03:01 +0500)
commit109f39afa592aeaa757b805ce6452f98a11de5bd
tree03ff15b57ba76a4dad4e1f437fbe4270f66ddb9d
parent9790b0ee5d23f5d8a44a1733fb9d5fbd50a7f41d
pageIndicators: Redesign and add position-based animation

Remove setCurrentPage() function, introduce setCurrentPosition() instead,
which allows to have fractional positions.

Make inactive dots smaller, filled and partially transparent, as opposed to
larger and fully opaque active dot. Make dots smaller overall, remove
borders. Interpolate each dot between active and inactive state based on
scroll position.

Make it impossible to "uncheck" the active dot.

Thanks Florian Müllner for parts of the code.

Fixes https://gitlab.gnome.org/GNOME/gnome-shell/issues/1932

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/843
data/theme/gnome-shell-sass/_common.scss
js/ui/appDisplay.js
js/ui/keyboard.js
js/ui/pageIndicators.js